package com.tulele.vtool.service.impl;

import com.tulele.vtool.mapper.CipherLogMapper;
import com.tulele.vtool.mapper.SysGzhMapper;
import com.tulele.vtool.model.GzhBrandMap;
import com.tulele.vtool.model.GzhUserMap;
import com.tulele.vtool.model.PlatformSysInfo;
import com.tulele.vtool.model.SysGzh;
import com.tulele.vtool.model.logEntity.CipherLog;
import com.tulele.vtool.service.CipherLogService;
import com.tulele.vtool.service.SysGzhService;
import com.tulele.vtool.utils.RedisCacheUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CipherLogServiceImpl implements CipherLogService {

    @Autowired
    private CipherLogMapper cipherLogMapper;

    @Override
    public void addCipherLog(CipherLog cipherLog){
        cipherLogMapper.addCipherLog(cipherLog);
    }

    @Override
    public Integer checkUse(String pubKey){
        return cipherLogMapper.checkUse(pubKey);
    }
}
